<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<!doctype html>
<html lang="zh">
<head>
    <title></title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/common/dictionaryPaths.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/common/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/basicInfo/sw/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/basicInfo/sw/edit.js"></script>
</head>
<body>

<script id="hazardousWasteTemplate" type="text/html" >
    <label class="label-top">危废类别:</label>
    <input class="easyui-textbox "  name="hazardousWasteTypeId" id="hazardousWasteTypeId" value="${sw.hazardousWasteTypeId}"  style="width: 360px;" title=""/>
</script>


<div class="form-wrap">
    <form id="submit_form" method="post">

        <input type="hidden" name="id" value="${sw.id}">
        <div class="input-wrap">
            <label class="label-top">固废名称:</label>
            <input class="easyui-textbox "  name="name" value="${sw.name}" data-options="required:true" style="width: 360px;" title=""/>
        </div>
        <div class="input-wrap">
            <label class="label-top">固废类别:</label>
            <input class="easyui-textbox "  name="solidWasteTypeId" value="${sw.solidWasteTypeId}" id="solidWasteTypeId" data-options="panelHeight:'auto',editable:false,required:true" style="width: 360px;" title=""/>
        </div>
        <div class="input-wrap" id="div_hazardousWasteTypeId">
            <c:if test="${sw.solidWasteTypeId == 1}">
                <script type="text/javascript">
                    $('#div_hazardousWasteTypeId').html(template('hazardousWasteTemplate',[]));
                    initHazardousWasteType();
                </script>
            </c:if>

        </div>

        <div class="input-wrap">
            <label class="label-top">备注:</label>
            <input class="easyui-textbox " name="remarks" value="${sw.remarks}" data-options="multiline:true"  style="height:60px;width: 360px;" title=""/>
        </div>

    </form>
    <div class="form-button">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg" id="btn_save" >保存</a>
    </div>
</div>

</body>
</html>
